package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;


//催收管理
@ApiModel(value = "催收管理类")
@Data
@TableName("cuishou")
public class CuishouBean {
    @ApiModelProperty(value = "主键id")
    @TableField("id")
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "床位费")
    @TableField("bed_price")
    private Double bedPrice;
    @ApiModelProperty(value = "护理费")
    @TableField("nurse_price")
    private Double nursePrice;
    @ApiModelProperty(value = "膳食费")
    @TableField("food_price")
    private Double foodPrice;
    @ApiModelProperty(value = "长护险抵扣")
    @TableField("insurance_price")
    private Double insurancePrice;
    @ApiModelProperty(value = "应收金额")
    @TableField("receivable_price")
    private Double receivablePrice;
    @ApiModelProperty(value = "实收金额")
    @TableField("official_receipts_price")
    private Double officialReceiptsPrice;
    @ApiModelProperty(value = "状态: 0待缴费，1已缴费")
    @TableField("state")
    private String state;

    @TableField(exist = false)

    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm")
    private Date applyTime;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private Long bedId;
    @TableField(exist = false)

    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm")
    private LocalDate admissionDate;


}
